$(document).ready(function(){
    if(window.localStorage){
        //alert('This browser supports localStorage');
        //window.location="http://www.baidu.com";
       var isLogin = localStorage.isLogin;

        if(isLogin){
            window.location="html/home.html";

        }else{
            window.location="html/login.html";

        }
    }else{
        //alert('This browser does NOT support localStorage');

    }

    $("#bt_login").click(function(){
        //$(this).hide();
        alert("click")
    });
});